package me.zhao.proxy;

/**
 * 继承方式实现代理
 * @author zhaoying
 */
public class Car2 extends Car{
	@Override
	public void move() {
		long starttime = System.currentTimeMillis();
		System.out.println("汽车开始行驶...");
		super.move();
		long endtime = System.currentTimeMillis();
		System.out.println("汽车结束行驶...行驶时间：" + (endtime-starttime));
	}
}
